<?php
   require_once '../connect.php';
   $title = 'df';
   $query="DELETE * FROM library WHERE title='$title'";
   if(mysqli_query($con,$query ))
   {
   	  echo "delete success!";
   }
   else 
   {
   	   echo "delete fail!";
   }